/**
 * @param {number[]} nums
 * @return {number}
 */
var lengthOfLIS = function (nums) {
  const dp = new Array(nums.length).fill(1)
  for (let i = 0; i < nums.length; i++) {
    console.log(i);
    for (let j = 0; j < i; j++) {
      console.log(i, j);
      // if (nums[i] < nums[j]) {
      //   dp[i] = Math.max(dp[i], dp[j] + 1)
      // }
    }
  }
};

lengthOfLIS([1, 2, 3])